package com.example.demo.blog.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.example.demo.core.web.core.model.DemoBaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 自动发现表
 *
 * @author Airhead
 * @since 2024-04-17
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("blog")
@ApiModel(value = "AutoDiscover对象", description = "自动发现表")
public class Blog extends DemoBaseModel {
  private Long id;

  @ApiModelProperty(value = "标题")
  private String title;

  @ApiModelProperty(value = "内容")
  private String content;

  @ApiModelProperty(value = "创建时间")
  private LocalDateTime createAt;
}
